import request from '@/utils/request'

// 收取收费单费用（扫码方式）
export function scanPayment(data) {
  return request({
    url: '/unified/payment/scan',
    method: 'post',
    data: data
  })
}

// 收取收费单费用（生成二维码方式）
export function qrcodePayment(data) {
  return request({
    url: '/unified/payment/qrcode',
    method: 'post',
    data: data
  })
}

// 获取停车收费二维码等信息
export function qrParkCodePayment(query) {
  return request({
    url: '/unified/payment/park/' + query,
    method: 'get'
  })
}
